package concurrencyPractice.chapter03;

/**
 * @author xinya
 * @version 1.0
 * @project javacore
 * @description 程序3-2 非线程安全的可变整数
 * @date 2023/12/27 10:26:39
 */
@NotThreadSafe
public class MutableInteger {
    private int value;

    private int get () {
        return value;
    }

    private void set (int value) {
        this.value = value;
    }
}
